puts "INFO: Running script [info script]\n"


#fix macros
set macros [dbGet -p2 -e top.insts.cell.baseClass block]

if {$macros != ""} {
		dbSet [dbGet -p2 top.insts.cell.baseClass block].pStatus fixed
}

if {$macros != ""} {
		addHaloToBlock {5 5 5 5} -snapToSite -allMacro
}

#if {$macros != ""} {
#		createPlaceBlockage -boxList [dbShape -output rect [dbGet [dbGet top.insts.cell.baseClass block -p2].box] SIZE 10] -type soft -snapToSite -name mem_soft_pb
#}

#createPlaceBlockage -boxList {{150 150} {708.137 1252.838}} -type soft -snapToSite -name mem_soft_pb
#createPlaceBlockage -boxList {{1989.5 150} {2547.637 1252.838}} -type soft -snapToSite -name mem_soft_pb

cutRow

puts "INFO: Completed script [info script]\n"


